﻿using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using YArchitech.LIB.YJKControls;

namespace ModelChecking.ModelValidation.AdjoinFireZone
{
	public partial class SprinklerInfoForm : System.Windows.Forms.Form
	{
		public SprinklerInfoForm()
		{
			this.InitializeComponent();
		}

		private void SprinklerInfoForm_Load(object sender, EventArgs e)
		{
			this.radioButtonYes.Checked = this.m_bSetSprinkler;
		}

		private void btnOk_Click(object sender, EventArgs e)
		{
			this.m_bSetSprinkler = this.radioButtonYes.Checked;
			base.DialogResult = DialogResult.OK;
			base.Close();
		}

		private void SprinklerInfoForm_KeyDown(object sender, KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Escape)
			{
				base.Close();
			}
		}

		public bool m_bSetSprinkler = true;
	}
}
